package com.ostrich.cloud.ostrichGoodsSercice.model.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PutGoodsParam {
    @NotNull
    private Integer goodsId;

    private Integer typeId;

    @ApiModelProperty(value = "物品名字")
    private String goodsName;

    @ApiModelProperty(value = "物品图片")
    private String goodsImg;

    @ApiModelProperty(value = "物品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "产地具体到省")
    private String goodsLocation;

    @ApiModelProperty(value = "物品库存")
    private Integer goodsStock;

    @ApiModelProperty(value = "计价单位")
    private String unitName;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "0不是热销，1是热销")
    private Integer isHot;

    @ApiModelProperty(value = "ON上架|DOWN下架|SLOD_OUT告罄")
    private String goodsStatus;

    @ApiModelProperty(value = "0不是拼团，1是拼团")
    private Integer groupbyStatus;

    @ApiModelProperty(value = "0不是秒杀，1是秒杀")
    private Integer seckillStatus;



}
